package com.lanhai.mind.beans;

import com.lanhai.mind.enums.AgvCurrentTransEnum;

/**
 * 小车数据定义
 * 
 * @author zhengwei
 *
 */ 
public class AgvBean {
	// 基础数据部分
	private int agvId;
	private int port;
	private String ip;
	private boolean upTrans;
	private boolean downTrans;

	// 变动数据
	private int areaId;
	private int road;
	private String nextProcess;// 下一道工序
	private int currentX;
	private int currentY;
	private int currentDot; // 当前点位
	private AgvCurrentTransEnum currentTrans; //当前需要传输的状态
	private String nextDevice; //下个机台
	
	public int getAgvId() {
		return agvId;
	}

	public void setAgvId(int agvId) {
		this.agvId = agvId;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public int getRoad() {
		return road;
	}

	public void setRoad(int road) {
		this.road = road;
	}

 
	public String getNextProcess() {
		return nextProcess;
	}

	public void setNextProcess(String nextProcess) {
		this.nextProcess = nextProcess;
	}

	public int getCurrentX() {
		return currentX;
	}

	public void setCurrentX(int currentX) {
		this.currentX = currentX;
	}

	public int getCurrentY() {
		return currentY;
	}

	public void setCurrentY(int currentY) {
		this.currentY = currentY;
	}

	public int getCurrentDot() {
		return currentDot;
	}

	public void setCurrentDot(int currentDot) {
		this.currentDot = currentDot;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public boolean isUpTrans() {
		return upTrans;
	}

	public void setUpTrans(boolean upTrans) {
		this.upTrans = upTrans;
	}

	public boolean isDownTrans() {
		return downTrans;
	}

	public void setDownTrans(boolean downTrans) {
		this.downTrans = downTrans;
	}

	public AgvCurrentTransEnum getCurrentTrans() {
		return currentTrans;
	}

	public void setCurrentTrans(AgvCurrentTransEnum currentTrans) {
		this.currentTrans = currentTrans;
	}

	public String getNextDevice() {
		return nextDevice;
	}

	public void setNextDevice(String nextDevice) {
		this.nextDevice = nextDevice;
	}

}
